var express = require('express');
var classController = require('../controllers/classController');
var router = express.Router();

/* GET classes listing. */
router.post('/adminapi/classes', classController.add);

router.get('/adminapi/classes', classController.getList);

router.put('/adminapi/classes/:id', classController.update);

router.delete('/adminapi/classes', classController.delete);

module.exports = router;